package com.hdd.biz.operate.service.impl;

import com.hdd.biz.operate.entity.Complaints;
import com.hdd.biz.operate.mapper.ComplaintsMapper;
import com.hdd.biz.operate.service.ComplaintsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 举报投诉表 服务实现类
 * </p>
 *
 * @author fang
 * @since 2021-03-22
 */
@Service
public class ComplaintsServiceImpl extends ServiceImpl<ComplaintsMapper, Complaints> implements ComplaintsService {

    @Override
    public void createComplaints(Complaints complaints) {
        baseMapper.insert(complaints);
    }
}
